'use strict'
import { defineStore } from "pinia"

export const useUserStore = defineStore('user', {
	state: () => {
		return {
			userInfo: null
		}
	},
	getters: {
	},
	actions: {
		setUserInfo(info: any) {
			this.userInfo = info
		}
	},
	persist: {
		enabled: true
	}
})